package com.qcnh.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qcnh.entity.Announcement;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import unil.Result;

import java.util.List;

/**
 * <p>
 * 公告表 服务类
 * </p>
 */
public interface AnnouncementService extends IService<Announcement> {
    IPage<Announcement> selectAllAnnouncements(Integer current, Integer size, String keyWord);
    Boolean addAnnouncement(Announcement announcement);
    Boolean delAnnouncementsByIdList(List<Integer> announcementIds);
    Boolean updateAnnouncement(Announcement announcement);
}
